From: Domas Mituzas Date: Mon, 23 Jan 2006 22:32:44 +0000 (+0000) Subject: ergh, yet more direct parser bits, ask for tidy when post-edit saving to parser cache X-Git-Tag: 1.6.0~433 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=e8d09daa6d65f74cf35369826eb7ab367f54102a;p=lhc%2Fweb%2Fwiklou.git ergh, yet more direct parser bits, ask for tidy when post-edit saving to parser cache --- diff --git a/includes/Article.php b/includes/Article.php index e05fb8923e..582183f444 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2170,6 +2170,7 @@ class Article { # Parse the text $options = new ParserOptions; + $options->setTidy(true); $poutput = $wgParser->parse( $text, $this->mTitle, $options, true, true, $newid ); # Save it to the parser cache